cmake_minimum_required(VERSION 3.14)
project(rcmd-recall)

set(CMAKE_CXX_STANDARD 14)

include_directories(.)
include_directories(thirdparty)
include_directories(thirdparty/nlohmann)
include_directories(thirdparty/plog/include)
include_directories(thirdparty/spdlog/include)
include_directories(thirdparty/cpp-httplib)
include_directories(thirdparty/msgpack-c/include)

set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -O3" )

add_executable(rcmd-recall
        thirdparty/nlohmann/json.hpp
        recall_types.cpp
        recall_types.h word2vec.cpp word2vec.h utils.hpp define.h recall_manager.cpp recall_manager.h application.cpp application.h invert_index.cxx recall_profile.h recall_profile.cpp)
